package com.ys.peony.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by yml on 17/5/27.
 */
public class UserModel implements Serializable {

    private static final long serialVersionUID = 4735585057063996013L;
    //用户主键
    private String id;
    //用户名字
    private String name;
    //用户账号
    private String account;
    //session
    private String sessionId;
    //用户权限
    private List<String> permissions;

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public List<String> getPermissions() {
        return permissions;
    }

    public void setPermissions(List<String> permissions) {
        this.permissions = permissions;
    }
}
